#@layout()
#define css()
<link rel="stylesheet" href="#(baseUrl)/assets/lib/jstree/themes/default/style.css" />
#end
#define content()
    <span class="layui-breadcrumb">
        <a href="#(baseUrl)">首页</a>
        <a href="javascript:;">设置</a>
        <a href="">资源管理</a>
    </span>

    <div class="layui-row layui-col-space15" style="margin-top: 15px">

        <div class="layui-col-md2">
            <div class="layui-elem-quote layui-quote-nm">
                <div id="resourceTree"></div>
            </div>
        </div>
        <div class="layui-col-md10">
            <table id="table">
                <div id="toolbar" class="layui-btn-group">
                    <button id="btn_add" type="button" class="layui-btn">新增</button>
                    <button type="button" class="layui-btn">编辑</button>
                    <button type="button" class="layui-btn">删除</button>
                </div>
            </table>
        </div>
    </div>
#end
#define js()
<script src="#(baseUrl)/assets/lib/jstree/jstree.js"></script>
<script>
    layui.config({
        base: '#(baseUrl)/assets/js/' //你存放新模块的目录，注意，不是layui的模块目录
    }).use('resource'); //加载入口
</script>
#end